package com.city.service.pub.impl;

import com.city.domain.pub.PubHouseFrom;
import com.city.repository.pub.PubHouseFromRepository;
import com.city.service.pub.PubHouseFromService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation:
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-25 19:24
 */
@Service
public class PubHouseFromServiceImpl implements PubHouseFromService {

    @Autowired
    private PubHouseFromRepository houseFromRepository;

    @Override
    public List<PubHouseFrom> getAll() {
        return houseFromRepository.getAll();
    }
}
